package com.lonni.rpc.core.annotation;

import com.lonni.rpc.core.spring.RpcSpringRegistrar;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * @author: lonni
 * @CreateTime: 2024-06-27  22:45
 * @Description:
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@Import(RpcSpringRegistrar.class)
public @interface EnableRpc {
    /**
     * 扫描路径
     *
     * @return
     */
    String[] basePackage();
}
